.navbar-expand-lg {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
    padding-right: 10%;
    padding-left: 10%;
}

p {
    margin: 0;
}

body {
    background: url(../img/bg1.jpg) no-repeat;
}


/* 欢迎部分 */

.logo {
    width: 600px;
    height: 40px;
    color: white;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    user-select: none;
    border-radius: 5px;
    background: -webkit-linear-gradient(-45deg, red, blue);
    background-size: 500%;
    animation: bgc 3s infinite linear alternate;
    transition: all 0.4s;
    margin-left: 15%;
    margin-right: 15%;
}


/* 导航栏中央动画 */

@keyframes bgc {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0;
    }
}


/* 添加按钮 */

.btn-add {
    position: absolute;
    top: 175px;
    right: 175px;
    display: flex;
}

.btn-add .btn {
    width: 40%;
    font-size: 14px;
    margin-left: 5px;
}


/* 表格卡片 */

.tablecard {
    margin-top: 200px;
    margin-bottom: 230px;
    text-align: center;
    padding: 0 10%;
}

.table {
    background-color: white;
    box-shadow: 16px 16px 5px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}


/* 表格卡中按钮之间的距离 */

td .btn {
    margin: 0 10px;
}

td .btn {
    width: 42px;
}


/* 底部内容 */

footer {
    height: 80px;
    background-color: #343A40;
    color: dimgray;
    font-size: 13px;
    text-align: center;
    line-height: 40px;
}